﻿namespace Pp.Domain.Mappings
{
    using Model;

    public sealed class AngelRequestMap : EntityMap<AngelRequest>
    {
        public AngelRequestMap()
        {
            References(d => d.Project, "ProjectId").LazyLoad();
            References(d => d.User, "UserId").LazyLoad();
            Map(d => d.State);
            Map(d => d.IsAgainRequest);
        }
    }
}